phpseclib\Crypt\Base D

Total Complexity 282
Dependencies 3
Dependents 3
Total lines 2,663
Lines of code 1,430
Logical lines of code 809
Comment lines 991
Methods 37
Properties 31

Methods 37

Method Rating Maintainability Complexity Lines of code
encrypt()
D
16
67 289
decrypt()
D
16
67 286
_createInlineCryptFunction()
C
21
11 385
_openssl_ctr_process()
B
38 19 70
isValidEngine()
A
46 15 39
setPassword()
A
41 14 53
__construct()
A
53 10 23
_openssl_ofb_process()
A
49 7 32
_setEngine()
S
52 7 28
_openssl_translate_mode()
S
60 7 16
_hashInlineCryptFunction()
S
52 6 23
_increment_str()
S
52 5 24
_setupMcrypt()
S
53 4 23
safe_intval_inline()
S
62 4 11
_unpad()
S
63 4 10
_pad()
S
60 3 13
setPreferredEngine()
S
64 3 11
disableContinuousBuffer()
S
64 3 11
safe_intval()
S
64 3 9
_setup()
S
71 2 7
_clearBuffers()
S
66 2 7
setKey()
S
66 2 9
enableContinuousBuffer()
S
70 2 7
setIV()
S
70 2 7
_setupKey()
S
100 1 0
_decryptBlock()
S
100 1 0
_encryptBlock()
S
100 1 0
enablePadding()
S
82 1 3
_string_shift()
S
73 1 5
_string_pop()
S
72 1 5
getBlockLength()
S
81 1 3
_setupInlineCrypt()
S
82 1 3
getKeyLength()
S
81 1 3
_getLambdaFunctions()
S
77 1 4
setKeyLength()
S
74 1 5
disablePadding()
S
82 1 3
getEngine()
S
83 1 3